package Demo3.mapper;

import Demo3.bean.Student;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface StudentMapper {
    //根据id查学生
    @Select("select * from student where cid=#{cid}")
    public  abstract List<Student> selectByIdCid(Integer cid);
}
